<table>
  <% for lookuplist in lookups -%>
    <tr>
      <td><%=lookuplist.id%></td>
      <td width="300"><%=link_to_remote h(lookuplist.name),:update=>"lookuplistitem",:url=>lookuplist_list_items_path(lookuplist),:method=>:get %></td>
      <td><%= link_to_remote 'Edit', :url=>edit_lookuplist_path(lookuplist),:update=>"lookuplist",:method=>:get %></td>
      <td><%#= link_to_remote 'Destroy', :url=>lookuplist, :confirm => '确定要删除吗?', :method => :delete,:update=>"lookuplist" %></td>
    </tr>
  <% end -%>
</table>